package com.txazo.bean;

import javax.faces.context.FacesContext;

/**
 * 用户退出Bean
 * 
 * @author txazo
 * @since 1.0
 * 
 */
public class LogoutBean {

	public String logout() {
		FacesContext.getCurrentInstance().getExternalContext().getSessionMap()
				.clear();
		return "logout";
	}

}
